package com.bwhx.eruler.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bwhx.eruler.dao.EtapeDecodeDAO;
import com.bwhx.eruler.service.EtapeDecodeService;

@Service
public class EtapeDecodeServiceImpl implements EtapeDecodeService {

	@Autowired
	EtapeDecodeDAO dao;
	
	@Override
	public int isLegal(String sn, String code) {
		
		
 		return dao.isLegal(  sn,   code);
	}

 
}
